<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>基础服务管理</title>
<link rel="stylesheet" type="text/css" href="../../../css/reset.css" />
<link rel="stylesheet" type="text/css" href="../../../css/css.css" />
<link rel="stylesheet" type="text/css"
	href="../../../js/jquery-easyui-1.4.3/themes/default/easyui.css" />
<link rel="stylesheet" type="text/css"
	href="../../../js/jquery-easyui-1.4.3/themes/icon.css" />
<link rel="stylesheet" type="text/css"
	href="../../../js/SimpleTree1.3/js/tree_themes/SimpleTree.css" />
<link rel="stylesheet" type="text/css"
	href="../../../css/colorReset.css" />
<style>
.datagrid-btable td .datagrid-cell a {
	border: none;
	background: none;
}

.tree-checkbox {
	display: inline-block;
	width: 14px;
	height: 14px;
	vertical-align: text-bottom;
	overflow: hidden;
}

#clearInterface {
	position: absolute;
	width: 20px;
	text-align: center;
	right: 52px;
	display: none;
	top: 4px;
	font-family: Cambria, "Hoefler Text", "Liberation Serif", Times,
		"Times New Roman", serif;
	color: #8F8F8F;
}

#errNotif_selection ul {
	padding: 10px;
	line-height: 18px;
}

#errNotif_selection ul li {
	border-bottom: 1px dashed #ced6db;
	padding: 0 0 0px 10px;
}

#errNotif_selection ul li label {
	padding: 5px 0;
	display: block;
}

#errorInfo li.hover {
	background-color: #ffa;
}

#errorInfo li:hover {
	background-color: #ffa;
}

.tree_con {
	height: 270px;
	overflow: auto;
	margin: 0 auto;
}

.td_left {
	align: right;
}

.td_right {
	align: left;
}

#progressbar {
	display: none;
	position: absolute;
	left: 0;
	bottom: 0;
	height: 100%;
	width: 100%;
	opacity: 0.6;
	filter: alpha(opacity = 60);
	background-color: #ffffff;
	/*background-color:#979797;*/
	z-index: 9018;
}

#progressbar_tips {
	display: none;
	line-height: 30px;
	font-size: 16px;
	color: #000000;
	font-weight: bold;
	position: absolute;
	left: 0;
	top: 200px;
	height: 100%;
	width: 100%;
	z-index: 9020;
}

#progressbar_tips img {
	display: block;
	margin: 0 auto;
}

#progressbar_tips p {
	text-align: center;
}
/*
**
*/
.button_con a {
	height: auto;
}
</style>
</head>

<body>
	<div id="progressbar"></div>
	<div id="progressbar_tips">
		<img src="../../../images/progressbar.gif" alt="" />
		<p>
			请稍候<span id="progressbar_point"></span>
		</p>
	</div>
	<div class="main">
		<!-- 检索区域开始 -->
		<div class="sel_div">
			<table cellpadding="0" cellspacing="0" class="sel_con">
				<tr>
					<th colspan="2">数据检索</th>
				</tr>
				<tr>
					<td><label style="width: 100px">Bundle名称：</label> <input
						id="txtBundleName" name="txtBundleName" class="text" /></td>
					<td align="right" style="padding-right: 50px;">
						<button onclick="search()" class="query_btn easyui-linkbutton"
							iconCls="icon-search" style="outline: none;">查询</button>
					</td>
				</tr>
			</table>
		</div>
		<div class="data_con">
			<div id="toolbox" style="padding: 5px; height: 25px">
				<div style="margin-bottom: 5px; float: left">
					<a href="javascript:void(0)" onclick="openInstallBundle()"
						class="easyui-linkbutton" id="toolbar_delete"
						iconCls="icon-reload" plain="true">安装/更新</a> <a
						href="javascript:void(0)" onclick="refresh()"
						class="easyui-linkbutton" id="toolbar_reload"
						iconCls="icon-reload" plain="true">刷新</a>
				</div>
			</div>
			<table id="datagrid" style="height: 345px"
				data-options="fitColumns:true,toolbar:'#toolbox'">
			</table>
		</div>
	</div>
	<div id="win" class="easyui-window" title="Bundle详细信息"
		style="width: 1100px; height: auto; top: 2px"
		data-options="iconCls:'icon-save',modal:true,minimizable:false,maximizable:false,collapsible:false">
		<div class="data_con">
			<table id="datagridDetail" style="height: 500px; width: 1100px;"
				data-options="fitColumns:true">
			</table>
		</div>
	</div>
	<!--导入-->
	<div id="import_link" title="Bundle安装/更新">
		<div class="data_con">
			<table>
				<tr>
					<td align="right" style="width: 110px; padding-button: 20px"><label>启动Bundle：</label></td>
					<td style="padding-left: 5px; margin-bottom: 10px;"><input
						id="cboxStart" type="checkbox" /></td>
				</tr>
				<tr>
					<td align="right" class="label" style="padding-top: 20px;"><label>启动级别：</label></td>
					<td style="padding-left: 5px; padding-top: 20px;"><div
							class="input_con">
							<input type="text" name="txtStartLevel" id="txtStartLevel"
								class="text" value="80" maxlength="4" style="width: 40px;"
								onkeyup="this.value=this.value.replace(/\D/g,'')"
								onafterpaste="this.value=this.value.replace(/\D/g,'')" />
						</div></td>
				</tr>
			</table>
		</div>
		<div class="import_con">
			<form id="import_form" method="post"
				action="/api/importData/user/userUpload"
				enctype="multipart/form-data">
				<table>
					<tr>
						<td><label class="label">文件地址：</label></td>
						<td><input type="text" id="fileName" name="fileName"
							class="text" readonly="readonly" />
							<button class="default_btn" id="selFileBtn"
								style="display: inline;">浏览</button> <input type="file"
							name="file" id="file" accept=".jar" /></td>
					</tr>
				</table>

			</form>
		</div>
		<p style="text-align: center;">(温馨提示：支持导入的文件格式为.jar)</p>
		<div id="buttons" class="button_con">
			<a href="javascript:void(0)" onclick="installOrUpdateBundle()"
				class="easyui-linkbutton" id="instance_save" iconCls="icon-ok"
				plain="true">安装/更新</a> <a href="javascript:void(0)"
				onclick="cancel()" class="easyui-linkbutton" id="instance_cancel"
				iconCls="icon-cancel" plain="true">取消</a>
		</div>
	</div>
	<script type="text/javascript" src="/webjars/json3/3.3.2/json3.min.js"></script>
	<script type="text/javascript"
		src="../../../js/jquery-easyui-1.4.3/jquery.min.js"></script>
	<script type="text/javascript"
		src="../../../js/jquery-easyui-1.4.3/jquery.easyui.min.js"></script>
	<script type="text/javascript"
		src="../../../js/jquery-easyui-1.4.3/locale/easyui-lang-zh_CN.js"></script>
	<script type="text/javascript" src="../../../js/cook/FormValidate.js"></script>
	<script type="text/javascript" src="../../../js/cook/constants.js"></script>
	<script type="text/javascript" src="../../../js/cook/public.js"></script>
	<script type="text/javascript"
		src="../../../js/esb/ServiceManagement/BaseServiceManagement.js"></script>
	<script type="text/javascript" src="../../../js/cook/Util.js"></script>
	<script type="text/javascript" src="../../../js/ajaxfileupload.js"></script>
</body>
</html>
